package com.shuai.stickynote;

import com.shuai.tool.IDManager;
import com.shuai.tool.MyTime;

public class TaskNote {
    final public static String TYPE_SPOT = "spot";
    final public static String TYPE_NUM = "num";
    String id, title, content, group, time, tagType;
    int complete, delete;

    public TaskNote(String title, String content, String group, int complete) {
        this.id = IDManager.getID();
        this.title = title;
        this.content = content;
        this.group = group;
        this.time = MyTime.getCurrentTimeOfStamp();
        this.complete = complete;
        this.delete = 0;
        this.tagType = TYPE_SPOT;
    }
    public TaskNote(String title, String content, String group, String tagType, int complete) {
        this.id = IDManager.getID();
        this.title = title;
        this.content = content;
        this.group = group;
        this.time = MyTime.getCurrentTimeOfStamp();
        this.complete = complete;
        this.delete = 0;
        this.tagType = tagType;
    }
    public TaskNote(String id, String title, String content, String group, String tagType, int complete) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.group = group;
        this.tagType = tagType;
        this.complete = complete;
        this.time = MyTime.getCurrentTimeOfStamp();
        this.delete = 0;
    }
    public TaskNote(String id, String title, String content, String group, String time, String tagType, int complete, int delete) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.group = group;
        this.time = time;
        this.tagType = tagType;
        this.complete = complete;
        this.delete = delete;
    }

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getGroup() {
        return group;
    }
    public void setGroup(String group) {
        this.group = group;
    }
    public String getTime() {
        return time;
    }
    public void setTime(String time) {
        this.time = time;
    }
    public int getComplete() {
        return complete;
    }
    public void setComplete(int complete) {
        this.complete = complete;
    }
    public int getDelete() {
        return delete;
    }
    public void setDelete(int delete) {
        this.delete = delete;
    }
    public String getTagType() {
        return tagType;
    }
    public void setTagType(String tagType) {
        this.tagType = tagType;
    }

}
